<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
		<title>开发计划-新增</title>
		<link rel="icon" href="assets/img/lcxm.ico" type="image/ico">
		<script type="text/javascript" src="../../commonFragment/nojs.header.js" ></script>
		<script type="text/javascript" src="../../commonFragment/header.js"></script>
		<script type="text/javascript" src="../../commonFragment/md.header.js"></script>
		<script>
			$(function(){
				$(function() {
					testEditor = editormd("remark-md", {
						width: "100%",
						// height: 640,
						autoHeight : true,
						watch: true,
						toolbarAutoFixed: true,
						tocm                 :  true,  
						path: "assets/lib/editor.md-master/lib/",
						saveHTMLToTextarea: false, // 保存 HTML 到 Textarea
						imageUpload    : true,
						imageFormats   : ["jpg", "jpeg", "gif", "png", "bmp", "webp"],
						imageUploadURL : base_url + "/attachment/mdload",
					});
				});
			});
		</script>
	</head>
	<body>
		<div class="container-fluid p-t-15">
			<div class="row">
				<div class="col-lg-12">
					<div class="card">
						<div class="card-body">
							<form class="form-horizontal validate" role="form vue-form" method="post" action="/develop/plan/save"
							 data-form-url="/develop/plan/detail">
								<div class="form-group hide">
									<label for="parentId" class="col-sm-2 control-label">隐藏的*</label>
									<div class="col-sm-6 ">
										<input type="text" id="id" name="id" :value="id" />
									</div>
									<div class="col-sm-4  help-inline form-control-static"></div>
								</div>
								<div class="form-group">
									<label for="name" class="col-sm-2 control-label">计划名称*</label>
									<div class="col-sm-6 ">
										<input type="text" class="form-control" id="name" name="name" :value="name" 
										  data-rule-required="true"  placeholder="请输入计划名称" 
										 autocomplete="off"/>
									</div>
									<div class="col-sm-4  help-inline form-control-static"></div>
								</div>
								<div class="form-group">
									<label for="progress" class="col-sm-2 control-label">进度*</label>
									<div class="col-sm-6 ">
										<input type="text" class="form-control slider" id="progress" name="progress" :value="progress" 
										  data-rule-required="true"  data-min="0" data-max="100" 
										 autocomplete="off"/>
									</div>
									<div class="col-sm-4  help-inline form-control-static"></div>
								</div>
								<div class="form-group">
									<label for="category" class="col-sm-2 control-label">分类*</label>
									<div class="col-sm-6 ">
										<select class="form-control" id="category" name="category" :data-value="category" :value="category" 
										 data-rule-required="true" data-pcode="jhfl">
											<option value="">--请选择--</option>
										</select>
									</div>
									<div class="col-sm-4  help-inline form-control-static"></div>
								</div>
								<div class="form-group">
									<label for="status" class="col-sm-2 control-label">状态*</label>
									<div class="col-sm-6 ">
										<select class="form-control" id="status" name="status" :data-value="status" :value="status" 
										 data-rule-required="true" data-pcode="jhzt">
											<option value="">--请选择--</option>
										</select>
									</div>
									<div class="col-sm-4  help-inline form-control-static"></div>
								</div>
								<div class="form-group">
									<label for="startDate" class="col-sm-2 control-label">开始时间</label>
									<div class="col-sm-6 ">
										<div class="input-group">
											<input class="datetime form-control" id="startDate" name="startDate" type="text" :value="startDate" data-date-format="yyyy-mm-dd"
											 data-min-view="2" data-end-date-target="#endDate" readonly="readonly">
											  <span class="input-group-addon clean"><i class="fa fa-refresh" aria-hidden="true"></i></span>
										</div>
									</div>
									<div class="col-sm-4  help-inline form-control-static"></div>
								</div>
								
								<div class="form-group">
									<label for="endDate" class="col-sm-2 control-label">结束时间</label>
									<div class="col-sm-6 ">
										<div class="input-group">
											<input class="datetime form-control" id="endDate" name="endDate" type="text" :value="endDate" data-date-format="yyyy-mm-dd"
											 data-min-view="2" data-start-date-target="#startDate" readonly="readonly" >
											 <span class="input-group-addon clean"><i class="fa fa-refresh" aria-hidden="true"></i></span>
										</div>
									</div>
									<div class="col-sm-4  help-inline form-control-static"></div>
								</div>
								
								<div class="form-group">
									<label for="parentId" class="col-sm-2 control-label">状态*</label>
									<div class="col-sm-6 ">
										<select class="form-control" id="enable" name="enable" :data-value="enable" :value="enable"
										 data-rule-required="true">
											<option value="true">启用</option>
											<option value="false">禁用</option>
										</select>
									</div>
									<div class="col-sm-4  help-inline form-control-static"></div>
								</div>
								<hr/>
								<div class="form-group">
									<label for="remark">备注</label>
										<div class="editormd" data-height="650">
											<textarea name="remark"   class="form-control" style="display:none;" v-model="remark"></textarea>
										</div>
											
								</div>
								
								<!-- <div class="form-group">
									<label for="remark" class="col-sm-2 control-label">备注*</label>
									<div class="col-sm-8 ">
										<div id="remark-md">
										rows="8" cols="100%" 
											<textarea name="remark"   style="display:none;" v-model="remark"></textarea>
										</div>
											
									</div>
									<div class="col-sm-4  help-inline form-control-static"></div>
								</div> -->
								
								
								

								<div class="form-group clearfix">
									<div class="col-sm-offset-3 col-sm-9">
										<button type="button" class="btn btn-primary action-ajax-form">
											<i class="glyphicon glyphicon-ok"></i> 提交
										</button>
										<button type="button" class="btn btn-info action-close-tab" data-go-tab="101002">
											<i class="glyphicon glyphicon-repeat"></i> 返回
										</button>
									</div>
								</div>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>
